body
{
    margin: 0;
}

#header
{
    
    padding-right: 0;
    width: 100%;


}

#header1 
{
    background-color:rgb(224,233,232);
    color:white;
    text-align:center;
    padding:5px;
    height: 60px;
    position:absolute;
    top: 0;

    
   
}

#ylglogo
{
    width: 16%;
    float: left;
    padding-right: 40px;
    
}

#daohanglan
{
    float: right;
    position: relative;
    left: -30px;
    top: -34px;
}

ul
{
    list-style-type:none;
    margin:0;
    padding:30px;
    height: 100px;

}
li
{
    float:left;
    text-align: center;

}
a:link,a:visited
{
    height: 30px;
    display:block;
    width:120px;
    font-weight:bold;
    color:black;
    background-color:rgb(211.220,227);
    text-align:center;
    padding:20px;
    text-decoration:none;
    text-transform:uppercase;
}
a:hover,a:active
{
    background-color:rgb(211.220,227);
}
.dropdown
{
    display:inline-block;
}
  
.dropdown-content
{
    display:none;
    position:absolute;
    background-color:#f9f9f9;
    min-width:160px;
    box-shadow:7px -11px 16px 0px rgba(0,0,0,0.2);
}
  
.dropdown-content a
{
    color:black;
    padding:12px 30px;
    text-decoration:none;
    display:block;
    background-color: rgb(184,195,207);
}
  
.dropdown-content a:hover {background-color: rgb(159,163,168);}
  
.dropdown:hover .dropdown-content
{
    display:block;
}

#search 
{
    width: 450px;
    height: 35px;
    padding: 13px;
 
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -230px;
    margin-top: 10%;
 
    background-color: rgba(191,205,205, 0.5);
 
    border-radius: 10px;
    text-align: center;
}
.field 
{
    width: 278px;
    height: 30px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 0;
}

#frame
{
    margin-top: -4px;
    width: 100%;
    height: 300px;
    padding-top: 1%;
    
    background-color: rgb(231,236,242);

    
}

#frameFive
{
    width: 23%;
    height: 185px;
    margin-left: 20%;
    padding-top: 100px;
    
    background-color: rgb(191,210,234);

    
}

#frameTwo
{
    margin-top: -4px;
    width: 100%;
    height: 500px;
    padding: 0px;
    border-radius: 10px;
    text-align: center;
}
form p > * {
    display: inline-block;    //块级，一行
    vertical-align: middle;   //垂直对齐图像
}
#controOne
{
    padding-top: 100px;

}
.input 
{
    width: 80px;
    height: 30px;
    line-height: 28px;
    text-align: center;

    font-size: 15px;
    font-family: 宋体;
    font-weight: bold;
    color: black;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
 
.field 
{
    width: 278px;
    height: 28px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: black solid thin;
    
}

#contro 
{
    padding-left: 47%;
    padding-top: 35px;
}

 
.submit
{
    width: 120px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 15px;
    font-family: 宋体;
    
    color: white;
    background-color: rgb(122,167,234);
    border-radius: 6px;
    border: 0;
    float: left;
}

.submit:hover 
{
    color: #0a1a59;
    background-color: #3a6b97
}

#frameThree
{
    
    width: 100%;
    
}

#frameFour
{
    width: 100%;
    height: 150px;
    padding: 0px;
    text-align: center;
   
}
#controFhree
{
    width:100px;
    height: 150px;
}

@media screen and (max-width: 1024px) { 

#search
{
    margin-top:8%;
}

}